package com.seedwill.common.query;

import com.seedwill.common.meta.DataType;


/**
 * 标量注册
 * @author kdyi
 *
 */
public class ScalarParaReg {

	
	
	public ScalarParaReg() {
		fieldType = DataType.STRING;
	}
	public ScalarParaReg(String fname, DataType htype ) {
		fieldName = fname;
		fieldType = htype;
	}
	public ScalarParaReg(String fname) {
		fieldName = fname;
		fieldType = DataType.STRING;
	}
	
	/**
	 * 字段名
	 */
	protected String fieldName;
	/**
	 * 字段数据类型
	 */
	protected DataType fieldType;
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public DataType getFieldType() {
		return fieldType;
	}
	public void setFieldType(DataType fieldType) {
		this.fieldType = fieldType;
	}

}
